package com.naughty.userlogin02.dao;

import com.naughty.userlogin02.bean.Finishwork;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FinishworkDao {
    public List<Finishwork> getAllFinishwork(@Param("cid") String fwstate, @Param("cid") int pageStart, @Param("pageSize") int pageSize);
    public int getFinishworkCounts(@Param("fwstate") String fwstate);
    //    public int addFinishwork(Finishwork finishwork);
    public int editFinishworkT(Finishwork finishwork);
    public int editFinishworkS(Finishwork finishwork);
    public int countFinishwork(@Param("fwstate") String fwstate);
//    public int getAllFinishwork1(Finishwork finishwork);
}